package systems;

import general.Case;
import geometry.Zone;

import java.util.ArrayList;

public class Nuage
{

	public float	alt;
	
	public Nuage(int it, int jt, float alt)
	{
		g = new float[it][jt];
		equi = new Case[it][jt];
		this.alt = alt;
	}

	public float[][]	g;
	public Case[][]	equi;
	public ArrayList<Zone>	a;

	public void placer(Case[][][] cases, Case c1)
	{		
		equi[0][0] = c1;
		int l = c1.l;
		
		for( int i = 0 ; i < g.length ; i++ )
		{
			for( int j = 0 ; j < g[0].length ; j++ )
			{
				equi[i][j] = cases[l][i+c1.y][j+c1.x];
			}
		}
		
	}
}
